package org.easy.tool.service;

import org.easy.tool.entity.FileRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.LinkedHashMap;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Valley
 * @since 2024-09-08 13:27:04
 */
public interface IFileRecord extends IService<FileRecord> {

    /**
     * 上传文件
     */
    String upload(MultipartFile file) throws Exception;

    /**
     * 预览文件
     */
    void preview(String id) throws Exception;

    /**
     * 导出word题库
     */
    void exportWord(LinkedHashMap data) throws Exception;
}
